package com.gln.bloger.constant;

/**
 * Constant Define Class
 * 
 * @author LeoLeung
 * Date: 2008/01/06
 */
public class Constant {
	
	public static String realpath;
	
	
	/**
	 * userData
	 */
	public static String USER_DATA = "userData";
	
	/**
	 * websiteData
	 */
	public static String WEBSITE_DATA = "websiteData";
	
	/**
	 * entry data
	 */
	public static String ENTRY_DATA = "entryData";
	/**
	 * configure files path
	 */
	public static String configPath;
	
	
	/**
	 * success
	 */
	public static final String SUCCESS = "success";
	
	/**
	 * failure
	 */
	public static final String FAILURE = "failure";
	
	/**
	 * authenticated user
	 */
	public static final String AUTH_USER = "authUser";
	/**
	 * 500 page
	 */
	public static final String PAGE_500 = "page500";
	/**
	 * 404 page
	 */
	public static final String PAGE_404 = "page404";
	/**
	 * blog facade
	 */
	public static final String BLOG_FACADE = "facade";
	/**
	 * web site entity
	 */
	public static final String AUTH_WEBSITE = "authWebsite";
	
	public static final String DATE_FORMAT_yyyyMM = "yyyyMM";
	
	public static final String CATEGORY_IS_SCERET="1";
	
	public static final String CATEGORY_IS_NOT_SCERET="0";
	
	public static final String ENTRY_SAVETYPE_SAVE = "draft";
	
	public static final String  ENTRY_SAVETYPE_PUBLISH = "publish";
	
	public static final int HOT_TAG_SIZE = 20;
	
	public static final int RECENT_ENTRY_SIZE = 10;
	
	public static final int RECENT_COMMENT_SIZE = 10;
	
	public static final int RELATED_ENTRY_SIZE = 5;
	
	public static final String CONTEXTPATH = "webloggerPath";
	/**
	 * page size with pagination.
	 */
	public static final int PAGE_SIZE = 10;
	
	public static final String IDENTIFYING_CODE_SESSION_NAME = "identifyingCode";
	
	public static final String AVAILABLE_THEMES = "availableThemes";
	
	public static final String DEFAULT_FEED_TYPE = "rss_2.0";
	
	public static final String MIME_TYPE = "application/xml; charset=UTF-8";
	
}
